﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EF_Brave.Service.Logging.Service
{
    /// <summary>
    /// 供LoggerFactory使用的适配器接口
    /// </summary>
    public interface ILoggerFactoryAdapter
    {
        /// <summary>
        /// 依据LoggerName获取
        /// </summary>
        /// <param name="loggerName">日志名称（例如：log4net的logger配置名称）</param>
        /// <returns></returns>
        ILogger GetLogger(string loggerName);
    }
}
